package com.zbkj.crmeb.order.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CarottaOrderResponse implements Serializable {

    private Integer code;

    private String result;

    private String message;

    @JsonProperty(value = "order")
    private BellecttiniOrder order;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class BellecttiniOrder {

        @JsonProperty(value = "orderNumber")
        private String order_number;

        @JsonProperty(value = "skuSize")
        private String sku_size;

        @JsonProperty(value = "quantity")
        private String quantity;

        @JsonProperty(value = "partner_price")
        private String partnerPrice;

        @JsonProperty(value = "zone")
        private String zone;

    }

}
